<script>
import {defineComponent} from 'vue'
export default defineComponent({
  name: "MyButton"
})
</script>

<template>
  <button>
    <!--默认插槽-->
    <slot>插槽的后背内容</slot>
  </button>
</template>

<style scoped lang="less">
button {
  height: 30px;
  border: 1px solid #ccc;
}
</style>
